Basics of Tensorflow


In [2]:
import tensorflow as tf

In [3]:
# Setup an op => node of the graph

hello = tf.constant('Hello, TF!')

# Start the tf.session
sess = tf.Session()

# Run the graph
sess.run(hello)